#include "StdAfx.h"
#include "SubModel.h"

namespace rkt
{
	const char* SubModel::getName()
	{
		return m_name.c_str();
	}

	void  SubModel::setMaterial(const Material& mtl)
	{
		m_mtl = mtl;
	}

	ushort SubModel::getIndexStart()
	{
		return indexStart;
	}

	ushort SubModel::getIndexCount()
	{
		return indexCount;
	}

	ushort SubModel::getVertexStart()
	{
		return vertexStart;
	}

	ushort SubModel::getVertexEnd()
	{
		return vertexEnd;
	}

	const Material&	SubModel::getMaterial()
	{
		return m_mtl;
	}
	
	GeosetAnimation*	SubModel::getGeosetAnimation()
	{
		return &m_GeosetAnimation;
	}
	
	bool	SubModel::isAnimated()
	{
		return m_bAnimated;
	}
}